﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Xml.Serialization;
using System.Runtime.Serialization;

namespace imeem.library
{
    [XmlRoot("item")]
    public class VideoData : ContentData
    {
        private string _author;
        private string _previewImageUrl;
        private string _videoEmbedUrl;
        private int _height;
        private int _width;
        private int _duration;
        private string _iconUrl;

        [XmlElement("author")]
        public string Author
        {
            get { return _author; }
            set { _author = value; }
        }

        [XmlElement("duration")]
        public int Duration
        {
            get { return _duration; }
            set { _duration = value; }
        }

        [XmlElement("height")]
        public int Height
        {
            get { return _height; }
            set { _height = value; }
        }

        [XmlElement("width")]
        public int Width
        {
            get { return _width; }
            set { _width = value; }
        }

        [XmlElement("previewImageUrl")]
        public string PreviewImageUrl
        {
            get { return _previewImageUrl; }
            set { _previewImageUrl = value; }
        }

        [XmlElement("iconUrl")]
        public string IronUrl
        {
            get { return _iconUrl; }
            set { _iconUrl = value; }
        }

        [XmlElement("videoEmbedUrl")]
        public string EmbedUrl
        {
            get { return _videoEmbedUrl; }
            set { _videoEmbedUrl = value; }
        }
    }
}
